Skip to main content

rightMargin

Type

property

Summary

Specifies how close text within an object can come to the object's right edge, and how close objects in a group can come to the group's right edge.

Syntax

set the rightMargin of {<button> | <field> | <group>} to <pixels>

Description

Use the rightMargin property to change the amount of blank space between an object's right edge and its contents.

The rightMargin property of a field or button specifies how many blank pixels are left between the object's right edge and the right edge of its text. The rightMargin of a group specifies how far the group's right edge extends below its rightmost object.

An object's rightMargin property is equal to item 3 of its margins property.

Examples

set the rightMargin of group "Options" to 20

glossary: object, property, non-negative, group

keyword: default, item, integer, field, button

object: field

property: wideMargins, pixels, margins, acceleratorText

command: group

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?